.PHONY:all
all:registry discovery

registry:registry.cc
	g++ -o $@ $^ -std=c++17 -lspdlog -lfmt -lgflags -letcd-cpp-api -lcpprest -lbrpc -lssl -lcrypto -lprotobuf -lleveldb

discovery:discovery.cc
	g++ -o $@ $^ -std=c++17 -lspdlog -lfmt -lgflags -letcd-cpp-api -lcpprest -lbrpc -lssl -lcrypto -lprotobuf -lleveldb

.PHONY:clean
clean:
	rm -rf registry discovery